﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace BookingSystemModel
{
    [DataContract]
    public class Person : Entity, IPerson
    {
        [DataMember]
        public String SocialSecurityNumber { get; set; }

        [DataMember]
        public TitlePerson Title { get; set; }

        [DataMember]
        public String FirstName { get; set; }

        [DataMember]
        public String MiddleName { get; set; }

        [DataMember]
        public String LastName { get; set; }

        [DataMember]
        public Gender Gender { get; set; }

        [DataMember]
        public DateTime Birthday { get; set; }


    }
}